/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jse.reflect;

import java.util.List;

/**
 *
 * @author Swang
 */
public class Person extends BaseEntity{

    private Long id;
    private String name;
    private SexEnum sex;
    private String phone;
    private List<Address> address;
    
    public String language;

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }
    
    public List<Address> getAddress() {
        return address;
    }

    public void setAddress(List<Address> address) {
        this.address = address;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }
}
